package com.wanxi.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ManagerVO {
    private String id;              //唯一标识
    private String managerName;     //登录名
    private String password;        //密码
    private Integer enable;         //数据状态
    private String remark;          //备注

    private String oldPassword;      //旧密码
    private String newPassword;     //新密码
    private String code;            //验证码
    private String vCode;           //服务器保存的验证码
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;        //用于模糊查询的起始时间
}
